package com.data.modules.wrt.service.impl;


import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.data.modules.wrt.entity.WrtOpenLog;
import com.data.modules.wrt.mapper.WrtOpenLogMapper;
import com.data.modules.wrt.service.IWrtOpenLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @Description: 慧锐通开门记录
 * @Author: data-boot
 * @Date:   2023-09-05
 * @Version: V1.0
 */
@Service
public class WrtOpenLogServiceImpl extends ServiceImpl<WrtOpenLogMapper, WrtOpenLog> implements IWrtOpenLogService {

    @Autowired
    private WrtOpenLogMapper mapper;
    @Override
    public Integer queryPersonTotal() {
        return mapper.searchPersonTotal();
    }

    @Override
    public List<WrtOpenLog> queryMonitorPersonLog() {
        return mapper.searchMonitorPersonLog();
    }

    @Override
    public Map queryAiLog() {
        return mapper.searchAiInfo();
    }

    @Override
    public Map queryOneDayAiLog() {
        return mapper.searchOneDayAiLog();
    }

    @Override
    public Map queryTwoDayAiLog() {
        return mapper.searchTwoDayAiLog();
    }
}
